#include "StdAfx.h"
#include "GroundPhotocoupler.h"


CGroundPhotocoupler::CGroundPhotocoupler(void)
{
}

CGroundPhotocoupler::CGroundPhotocoupler( const CGroundPhotocoupler* pEntityObj )
	:CGroundUnit(pEntityObj)
{

}


CGroundPhotocoupler::~CGroundPhotocoupler(void)
{
}

void CGroundPhotocoupler::Serialize( CArchive & ar )
{
	throw std::exception("The method or operation is not implemented.");
}

void CGroundPhotocoupler::Clear()
{
}

void CGroundPhotocoupler::CopyDisplayObj( long lSourceLayerId, long lDestLayerId )
{
	CEntityObj::CopyDisplayObj(lSourceLayerId, lDestLayerId);
}

void CGroundPhotocoupler::DeleteDisplayObj( long lLayerId )
{
	CEntityObj::DeleteDisplayObj(lLayerId);
}

CDisplayObj * CGroundPhotocoupler::CreateDisplayObj( long lLayerId )
{
	CGroundPhotocouplerDisObj* pPhotocouplerDis = new CGroundPhotocouplerDisObj(this);
	pPhotocouplerDis->SetLayerId(lLayerId);
	return pPhotocouplerDis;
}

CObj * CGroundPhotocoupler::Clone() const
{
	return new CGroundPhotocoupler(this);
}

void CGroundPhotocoupler::Transform( const CMatrix transf )
{
	
}

bool CGroundPhotocoupler::GetBox( double & dblLeft, double & dblBottom, double & dblRight, double & dblTop ) const
{
	return false;
}

eGroundUnitEntType CGroundPhotocoupler::GetGroundUnitType() const
{
	return GROUND_PHOTOCOUPLER;
}
